//
//  JCPlanCell.h
//  JiFengDaRen
//
//  Created by shouhan on 2018/4/1.
//  Copyright © 2018年 陈永发. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CreditManageModel.h"
//@class JCPlanCell;

//typedef void (^deleteBlock) (JCPlanCell *);
//
//typedef void(^textBlock)(JCPlanCell *);

@protocol planCellDelegate<NSObject>

- (void)clickDeleteAction:(UIButton *)btn;

- (void)getAmountText:(NSString *)strMoney andIndex:(NSInteger)index;

@end

@interface JCPlanCell : UITableViewCell

@property (nonatomic, strong) UIButton * deleteBtn;// 删除的按钮
@property (nonatomic, strong) UITextField * amount;//输入金额
@property (nonatomic, strong) UILabel * buckleLabel;// 代扣金额



@property (nonatomic, strong) CreditManageModel * manageModel;

+ (instancetype)tableViewCellWithTableView:(UITableView *)tableView;

- (void)getAmountText:(NSString *)str;



- (void)getIndexNumber:(NSInteger)index;

@property (nonatomic, assign) id<planCellDelegate>delegate;

@property (nonatomic, assign) NSInteger index;

@end
